package com.biwin.common.api.entity;

import com.biwin.common.api.basic.IBwDataObject;
import com.biwin.common.api.basic.IBwObject;
import com.biwin.common.api.vo.IBwVo;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * TODO
 *
 * @author biwin
 * @since
 */
public interface IBwEntity extends IBwObject, IBwDataObject, Serializable {


//    <V extends IBwVo> V toVo(V v);

    <V extends IBwVo, P extends IBwEntity> List<V> toVos(List<V> var1, List<P> var2) throws IllegalAccessException,
            InvocationTargetException;

}
